home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Agent Central Host Computer
/
Agent - Central Host Computer.iso
/
_SETUP.1
/
wayfares.sql
< prev
next >
Wrap
Text File
|
2000-05-12
|
1KB
|
26 lines
/* RCSVER $Id: wayfares.sql,v 1.3 2000-05-08 15:27:33-05 randy Exp $ */
/* *************************************************************************
* Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
*
* Name: wayfares.sql
* Date: 05/24/1999
* memo: Randy Wood
* Description: Create the wayfares table. This table contains information
* for each fare needed by the wayfarer unit.
* Changes:
************************************************************************* */
CREATE TABLE wayfares
(
fareset NUMBER(38), /* Fareset */
fare NUMBER(38), /* Fare */
descriptor NUMBER(38), /* Wayfarer descriptor */
dvariable NUMBER(38), /* Wayfarer variable */
price NUMBER(36,2), /* Cost to issue card */
expcode NUMBER(38), /* Code of expiration of card */
ntrips NUMBER(38), /* Number of wayfarer trips */
config_num NUMBER(38)
CONSTRAINT ref_wayfares REFERENCES configset(num)
ON DELETE CASCADE,
CONSTRAINT pk_wayfares PRIMARY KEY (fareset, fare, config_num)
);